package myContacts;

import java.io.Serializable;

public class Link implements Serializable, Cloneable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String etag;
	private String href;
	private String hrefLang;
	private long length;
	private String rel;
	private String title;
	private String titleLang;
	private String type;

	public Link() {
		super();
		etag = "";
		href = "";
		hrefLang = "";
		length = 0;
		rel = "";
		title = "";
		titleLang = "";
		type = "";
	}

	public String getEtag() {
		return etag;
	}

	public void setEtag(String etag) {
		this.etag = etag;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getHrefLang() {
		return hrefLang;
	}

	public void setHrefLang(String hrefLang) {
		this.hrefLang = hrefLang;
	}

	public long getLength() {
		return length;
	}

	public void setLength(long length) {
		this.length = length;
	}

	public String getRel() {
		return rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitleLang() {
		return titleLang;
	}

	public void setTitleLang(String titleLang) {
		this.titleLang = titleLang;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	protected Link clone() {
		// TODO Auto-generated method stub
		Link link = new Link();
		
		link.etag = etag;
		link.href = href;
		link.hrefLang = hrefLang;
		link.length = length;
		link.rel = rel;
		link.title = title;
		link.titleLang = titleLang;
		link.type = type;
		
		return link;
	}
	
}
